    <include file='Admin/Tpl/Public/nav.html' />
    <style>
        input{width:220px;}
        textarea{width:220px;}
        table{margin-left:10px;}
    </style>
            <!-- BEGIN PAGE CONTENT -->
            <div class="page-content">
                <div class="container-fluid">
                    <!-- Begin page heading -->
                    <h1 class="page-heading">Team In　<small>推送管理</small></h1>
                    <!-- End page heading -->
                    <!-- Begin breadcrumb -->
                    <ol class="breadcrumb default square rsaquo sm">
                        <li><a href="index.html"><i class="fa fa-home"></i></a></li>
                        <li><a href="#fakelink">Team In</a></li>
                        <li class="active">推送添加</li>
                    </ol>
                    
                    <div class="the-box full no-border">
                        <div class="the-box">                           
                            <form class="form-horizontal" id="ExampleBootstrapValidationForm" method="post" enctype="multipart/form-data" action="__URL__/add_act">
                                <div class="form-group">
                                        <label class="col-lg-3 control-label">推送名称<span style="color:red"> * </span></label>
                                        <div class="col-lg-5">
                                            <input type="text" class="form-control must text-input small-input" id="name" type="text" name="notice_title" />
                                        </div>
                                </div>
                                <div class="form-group">
                                        <label class="col-lg-3 control-label">推送描述<span style="color:red"> * </span></label>
                                        <div class="col-lg-5">
                                            <textarea class="form-control must" name="notice_detail"></textarea>
                                        </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-lg-9 col-lg-offset-3">                
                                        <input class="btn btn-primary" id="submit"  type="submit" value="提交" />
                                    </div>
                                </div>                                    
                            </form>
                        </div><!-- /.table-responsive -->
                    </div><!-- /.the-box -->

<script language="javascript" type="text/javascript" src="__PUBLIC__/Js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
    var len = $('.must').length;
    $("#submit").click(function(){
        for(var i=0;i<len;i++){
            if($(".must:eq("+i+")").val()==""){
                $(".must:eq("+i+")").css({border:"2px solid red"});
                return false;
            }
        }
    });

    $(".must").focus(function(){
        $(this).css({border:"2px solid #89F2D8"});
    });
    $(".must").blur(function(){
        $(this).css({border:""});
    });
</script>